<template>
  <div class="h-top">
    <div class="centent">
      <span class="iconfont icon-shangjiantou" @click="goBack"></span>
      <b>活动中心</b>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    goBack() {
      this.$router.back();
    },
  },
};
</script>

<style scoped>
@import url(../../assets/font1/iconfont.css);
.h-top {
  width: 100%;
  height: 0.5rem;
  /* background-color: navy; */
  display: flex;
  border-bottom: 1px solid gainsboro;
}
.h-top .centent {
  width: 92%;
  height: 0.5rem;
  line-height: 0.5rem;
  margin: auto;
  /* background-color: yellow; */
}
.h-top .centent span {
  margin-right: 0.1rem;
}
.icon-shangjiantou{
  color: red;
}
</style>